﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginOut.aspx.cs" Inherits="GPSTrackingWebsiteManager.Manager.Pages.LoginOut" %>

<!DOCTYPE html>

<link href="../../Css/GPSTrackingWebsite.css" rel="stylesheet" />

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Salir del sistema</title>
    <script type="text/javascript">
        function LoginOut_Close(sender, args) {
            GetRadWindow().close();       //closes the window       
        }

        function GetRadWindow()   //Get reference to window    
        {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow;
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;
            return oWindow;
        }
        
</script> 
</head>
<body style="overflow:hidden">

    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
   <div style="text-align:center">
                    
								<h2>¿Desea salir del sistema?</h2>
								<telerik:RadButton ID="btnLoginOut" runat="server" Text="Aceptar"  OnClick="btnLoginOut_Click"></telerik:RadButton>
								<telerik:RadButton ID="btnCancel" AutoPostBack="false" runat="server" Text="Cancelar"  OnClientClicked="LoginOut_Close"></telerik:RadButton>
							</div>
    </form>
</body>
</html>
